import React from 'react';
import ReactDOM from 'react-dom/client';

// 导入 react-reudx 的连接组件 Provider
import { Provider } from 'react-redux';
// 导入数据存储 store
import { store } from './store';

import { App } from './App';

// 应用（项目）渲染的根节点
const root = ReactDOM.createRoot(document.getElementById('root'));

// 渲染应用
root.render(
  <Provider store={store}>
    <App />
  </Provider>
);
